<include file="Public/mobile_head"/>	
<link href="{:ADDON_PUBLIC_PATH}/userCenter.css?v={:SITE_VERSION}" rel="stylesheet" type="text/css">

<body>
	<div class="container">
    	<div class="box user_box">
        	<div class="head"><img style="border-radius: 5px" src="{$user.headimgurl}"/></div>
            <p><strong>{$user.nickname}</strong></p>
            <p><span>GID:</span>{$user.id}</p>
            <p><span>总积分:</span>{$user.score}</p>
            <a class="edit" href="{:U('edit')}" title="编辑"><img src="__IMG__/m/icon_pencil.png" width="30" width="30"/></a>
        </div>
        <div class="box">
        	<h6>积分记录</h6>
           <volist name="scorelog" id="vo">
               <a class="item" href="#">
                   <span class="td title">{$vo.title}</span>
                   <span style="position: absolute;right: 20%;<if condition='$vo.score lt 0'>color:red</if>" class="td to">{$vo.score}</span>
                   <!--<span class="td to">查看详情&gt; </a>-->
               </a>
           </volist>
        </div>
        <!--
        <div class="unbind">
        	<p>你还没绑定用户信息！</p>
            <p><a class="btn" href="#">马上去绑定</a></p>
        </div>
        -->
    </div>
</body>
</html>
